/* 自定义Tree组件样式 */
.custom-tree .ant-tree-treenode {
  display: flex;
  align-items: center;
  padding-right: 24px !important;
  position: relative;
  width: 100%;
  height: 32px;
  margin-bottom: 4px;
}

.custom-tree .ant-tree-node-content-wrapper {
  flex-grow: 1;
}

.custom-tree .ant-tree-switcher {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 隐藏原来的switcher图标 */
.custom-tree .ant-tree-switcher .ant-tree-switcher-icon {
  display: none;
}

/* 调整checkbox位置 */
.custom-tree .ant-tree-checkbox {
  margin-right: 8px;
}

/* 调整树节点的缩进 */
.custom-tree .ant-tree-indent {
  width: 16px !important;
}

/* 调整树节点被选中时的背景色 */
.custom-tree .ant-tree-node-selected {
  background-color: #F5F7FA !important;
}

/* 调整箭头图标大小 */
.custom-tree .anticon {
  font-size: 12px;
} 